package org.ds.biz.services;

import java.util.List;

import org.ds.biz.user.AccountOverview;
import org.ds.biz.user.AccountTransaction;
import org.ds.biz.user.Customer;
import org.ds.biz.user.LoginUser;

public class CustomerManagementService
{
	public void createCustomer(Customer customer, LoginUser loginUser) throws CustomerManagementException
	{
		try
		{
			if (customer != null)
			{
				System.out.println("Validated customer information ...");
			}
			
			if (loginUser != null)
			{
				System.out.println("Validated login user ...");
			}
		}
		catch (Exception e)
		{
			throw new CustomerManagementException("Error creating customer account. Error Message : " + e.getMessage());
		}
	}
	
	public void updateCustomerInformation(Customer customer) throws CustomerManagementException
	{
		try
		{
			if (customer != null)
			{
				System.out.println("Validated customer information ...");
			}
		}
		catch (Exception e)
		{
			throw new CustomerManagementException("Error updating customer information. Error Message : " + e.getMessage());
		}
	}
	
	public List getCustomers(Customer customer)
	{
		return null;
	}
	
	public Customer getCustomer(String id)
	{
		return null;
	}
	
	public void addAccountTransaction(AccountTransaction at)
	{
		
	}
	
	public List getAccountTransactions(String customerID)
	{
		return null;
	}
	
	public AccountOverview getAccountOverview(String customerID)
	{
		return null;
	}
}
